diff options
| author | 2025-09-21 01:13:25 +0000 | |
|---|---|---|
| committer | 2025-09-21 01:13:25 +0000 | |
| commit | 9d26295c65d2c68ae5012bea1b20ea7e45e93325 (patch) | |
| tree | 3616eccafc248e25eb7f0e8c93e15b2863e8a502 /src/routes/scope-prompt/[scopes]/+server.ts | |
| parent | 11877824040ed2b92dab0efe04d7b24c64fa39cd (diff) | |
| download | crunched-master.tar.gz crunched-master.tar.bz2 crunched-master.tar.lz crunched-master.zip | |
Diffstat (limited to 'src/routes/scope-prompt/[scopes]/+server.ts')
| -rw-r--r-- | src/routes/scope-prompt/[scopes]/+server.ts | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/routes/scope-prompt/[scopes]/+server.ts b/src/routes/scope-prompt/[scopes]/+server.ts index f919b9c..5521cf5 100644 --- a/src/routes/scope-prompt/[scopes]/+server.ts +++ b/src/routes/scope-prompt/[scopes]/+server.ts @@ -17,5 +17,9 @@ export const GET = async (e) => { ) ) throw redirect(303, base + '/scope-prompt/ok'); - else throw error(500, 'In server mode, this branch should be unreachable'); + else + throw error( + 500, + 'In server mode, this branch should be unreachable. checkScope with getScopeOnFail should never return false outside of the client.' + ); }; |